package rsj.sql.product;

import com.rlyy.aibase.utils.base.Node;
import com.rlyy.aibase.utils.base.TableNode;
import rsj.annotation.DynamicSelect;
import rsj.api.report.entity.ReportParam;
import rsj.service.report.dynamic.ProductReportDynamicStatement;

/**
 * 接口报表
 *
 * @author yuanqinglong
 * @since 2021/7/15 14:46
 */
public interface ProductReportDao {


    /**
     * 接口报告列表
     *
     * @param reportParam 报告参数
     * @return {@link TableNode}
     */
    @DynamicSelect(type = ProductReportDynamicStatement.class, method = "productReportListSql")
    TableNode productReportList(ReportParam reportParam);


    /**
     * 接口报告数
     *
     * @param reportParam 报告参数
     * @return {@link Node}
     */
    @DynamicSelect(type = ProductReportDynamicStatement.class, method = "productReportCountSql")
    Node productReportCount(ReportParam reportParam);


    /**
     * 导出接口报告列表
     *
     * @param reportParam 报告参数
     * @return {@link TableNode}
     */
    @DynamicSelect(type = ProductReportDynamicStatement.class, method = "productReportExportSql")
    TableNode productReportExportList(ReportParam reportParam);






    /**
     * 接口报告详情列表
     *
     * @param reportParam 报告参数
     * @return {@link TableNode}
     */
    @DynamicSelect(type = ProductReportDynamicStatement.class, method = "productReportDetailListSql")
    TableNode productReportDetailList(ReportParam reportParam);


    /**
     * 接口详情报告数
     *
     * @param reportParam 报告参数
     * @return {@link Node}
     */
    @DynamicSelect(type = ProductReportDynamicStatement.class, method = "productReportDetailExportCount")
    Node productReportDetailCount(ReportParam reportParam);


    /**
     * 导出接口详情报告列表
     *
     * @param reportParam 报告参数
     * @return {@link TableNode}
     */
    @DynamicSelect(type = ProductReportDynamicStatement.class, method = "productReportDetailExportSql")
    TableNode productReportDetailExportList(ReportParam reportParam);
}
